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.



201
202
203
204
# File 'lib/embulk/guess/csv.rb', line 201

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

Instance Attribute Details

#text ⇒ Object (readonly)

Returns the value of attribute text.



205
206
207
# File 'lib/embulk/guess/csv.rb', line 205

def text
  @text
end