Skip to content
Browse files

remove trailling whitespaces

  • Loading branch information...
1 parent 309b2f4 commit e0ff870fd650930a55f6d7cd34cae8f871ce0876 @elmatou elmatou committed
Showing with 4 additions and 8 deletions.
  1. +1 −2 lib/active_pdftk/call.rb
  2. +1 −2 lib/active_pdftk/fdf.rb
  3. +1 −2 lib/active_pdftk/field.rb
  4. +1 −2 lib/active_pdftk/form.rb
View
3 lib/active_pdftk/call.rb
@@ -301,7 +301,6 @@ def pdftk_version
#
# @note Should work on all unix systems (Linux, Mac Os X)
#
-
def self.locate_pdftk
@pdftk_location ||= begin
auto_path = %x{locate pdftk | grep "/bin/pdftk"}.strip.split("\n").first
@@ -309,7 +308,7 @@ def self.locate_pdftk
(auto_path.nil? || auto_path.empty?) ? nil : auto_path
end
end
-
+
def locate_pdftk
self.class.locate_pdftk
end
View
3 lib/active_pdftk/fdf.rb
@@ -1,5 +1,4 @@
module ActivePdftk
-
# Map keys and values to Adobe's FDF format.
#
# Straight port of Perl's PDF::FDF::Simple by Steffen Schwigon.
@@ -48,7 +47,7 @@ def to_s
fdf << footer
return fdf
end
-
+
# Writes the output from #to_s to a file at the specified path.
#
# @param [String] path to save the generated file to.
View
3 lib/active_pdftk/field.rb
@@ -42,7 +42,6 @@ def required?
check_bit_true(2)
end
-
# @macro global_method
# @macro boolean
# Boolean method to determine if the field should not be exported to fill out the PDF form
@@ -216,7 +215,7 @@ def value
attributes['FieldValue']
end
- # Setter method for the 'FieldValue' attribute in the +attributes+ hash.
+ # Setter method for the 'FieldValue' attribute in the +attributes+ hash.
# The value does not change if the field is a read only true
# @return [String]
def value=(attr)
View
3 lib/active_pdftk/form.rb
@@ -11,7 +11,6 @@ module ActivePdftk
# bic.save
#
class Form
-
# @return [String, File, Tempfile, StringIO] return the given PDF template.
attr_reader :template
@@ -193,7 +192,7 @@ def to_h(all_fields = false)
hash
end
- # Check to see if the form has a field of the given name,
+ # Check to see if the form has a field of the given name,
# added to support the method_missing for accessing fields directly without having to access the fields array
#
# @return [Boolean]

0 comments on commit e0ff870

Please sign in to comment.
Something went wrong with that request. Please try again.