Class: BqGuess::Guessers::Base
- Inherits:
-
Object
- Object
- BqGuess::Guessers::Base
- Defined in:
- lib/bq_guess/guessers/base.rb
Instance Attribute Summary collapse
-
#file_content ⇒ Object
readonly
Returns the value of attribute file_content.
Instance Method Summary collapse
- #guess ⇒ Object
-
#initialize(file_content) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(file_content) ⇒ Base
Returns a new instance of Base.
10 11 12 |
# File 'lib/bq_guess/guessers/base.rb', line 10 def initialize(file_content) @file_content = file_content end |
Instance Attribute Details
#file_content ⇒ Object (readonly)
Returns the value of attribute file_content.
8 9 10 |
# File 'lib/bq_guess/guessers/base.rb', line 8 def file_content @file_content end |
Instance Method Details
#guess ⇒ Object
14 15 16 |
# File 'lib/bq_guess/guessers/base.rb', line 14 def guess BqGuess::Guesser.guess_records(records) end |