Class: SimpleRewriter::Configuration
- Inherits:
-
Object
- Object
- SimpleRewriter::Configuration
- Defined in:
- lib/simple_rewriter/configuration.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#hash_key_length ⇒ Object
Returns the value of attribute hash_key_length.
-
#hash_value_length ⇒ Object
Returns the value of attribute hash_value_length.
-
#integer_range ⇒ Object
Returns the value of attribute integer_range.
-
#rand_num_max ⇒ Object
Returns the value of attribute rand_num_max.
-
#reader ⇒ Object
Returns the value of attribute reader.
-
#sample_pdf_url ⇒ Object
Returns the value of attribute sample_pdf_url.
-
#save ⇒ Object
Returns the value of attribute save.
-
#writer ⇒ Object
Returns the value of attribute writer.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/simple_rewriter/configuration.rb', line 5 def initialize @reader = SimpleRewriter::Reader @writer = SimpleRewriter::Writer @save = false @integer_range = 0..10 @hash_key_length = 5 @rand_num_max = 10 @address = nil @sample_pdf_url = "http://www.africau.edu/images/default/sample.pdf" end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def address @address end |
#hash_key_length ⇒ Object
Returns the value of attribute hash_key_length.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def hash_key_length @hash_key_length end |
#hash_value_length ⇒ Object
Returns the value of attribute hash_value_length.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def hash_value_length @hash_value_length end |
#integer_range ⇒ Object
Returns the value of attribute integer_range.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def integer_range @integer_range end |
#rand_num_max ⇒ Object
Returns the value of attribute rand_num_max.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def rand_num_max @rand_num_max end |
#reader ⇒ Object
Returns the value of attribute reader.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def reader @reader end |
#sample_pdf_url ⇒ Object
Returns the value of attribute sample_pdf_url.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def sample_pdf_url @sample_pdf_url end |
#save ⇒ Object
Returns the value of attribute save.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def save @save end |
#writer ⇒ Object
Returns the value of attribute writer.
2 3 4 |
# File 'lib/simple_rewriter/configuration.rb', line 2 def writer @writer end |