Class: Embulk::Guess::CsvGuessPlugin::TimestampMatch

Inherits:
String
  • Object
show all
Defined in:
lib/embulk/guess/csv.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ TimestampMatch

Returns a new instance of TimestampMatch.



157
158
159
160
# File 'lib/embulk/guess/csv.rb', line 157

def initialize(text)
  super("timestamp")
  @text = text
end

Instance Attribute Details

#text ⇒ Object (readonly)

Returns the value of attribute text.



161
162
163
# File 'lib/embulk/guess/csv.rb', line 161

def text
  @text
end