Class: Embulk::GuessCsv::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.



147
148
149
150
# File 'lib/embulk/guess_csv.rb', line 147

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

Instance Attribute Details

#text ⇒ Object (readonly)

Returns the value of attribute text.



151
152
153
# File 'lib/embulk/guess_csv.rb', line 151

def text
  @text
end