Class: Sheetsy::Reader
- Inherits:
-
Object
- Object
- Sheetsy::Reader
- Defined in:
- lib/sheetsy/reader.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
- #debug? ⇒ Boolean
-
#initialize(source, options = {}) ⇒ Reader
constructor
A new instance of Reader.
- #overwrite? ⇒ Boolean
- #run ⇒ Object
Constructor Details
#initialize(source, options = {}) ⇒ Reader
Returns a new instance of Reader.
7 8 9 10 |
# File 'lib/sheetsy/reader.rb', line 7 def initialize(source, = {}) @source = source @options = end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/sheetsy/reader.rb', line 5 def data @data end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/sheetsy/reader.rb', line 5 def @options end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
5 6 7 |
# File 'lib/sheetsy/reader.rb', line 5 def source @source end |
Instance Method Details
#debug? ⇒ Boolean
28 29 30 |
# File 'lib/sheetsy/reader.rb', line 28 def debug? @debug ||= [:debug] end |
#overwrite? ⇒ Boolean
24 25 26 |
# File 'lib/sheetsy/reader.rb', line 24 def overwrite? @overwrite ||= [:overwrite] end |