Class: Sprig::Source::SourceDeterminer
- Inherits:
-
Object
- Object
- Sprig::Source::SourceDeterminer
- Defined in:
- lib/sprig/source.rb
Defined Under Namespace
Classes: FileNotFoundError
Instance Attribute Summary collapse
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
Instance Method Summary collapse
- #file ⇒ Object
-
#initialize(table_name) ⇒ SourceDeterminer
constructor
A new instance of SourceDeterminer.
Constructor Details
#initialize(table_name) ⇒ SourceDeterminer
Returns a new instance of SourceDeterminer.
65 66 67 |
# File 'lib/sprig/source.rb', line 65 def initialize(table_name) @table_name = table_name end |
Instance Attribute Details
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
63 64 65 |
# File 'lib/sprig/source.rb', line 63 def table_name @table_name end |
Instance Method Details
#file ⇒ Object
69 70 71 |
# File 'lib/sprig/source.rb', line 69 def file File.new(filepath) end |