Class: Embulk::Guess::SchemaGuess::TimestampTypeMatch

Inherits:
String
  • Object
show all
Defined in:
embulk-core/src/main/ruby/embulk/guess/schema_guess.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(format) ⇒ TimestampTypeMatch

Returns a new instance of TimestampTypeMatch



7
8
9
10
# File 'embulk-core/src/main/ruby/embulk/guess/schema_guess.rb', line 7

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

Instance Attribute Details

#formatObject (readonly)

Returns the value of attribute format



12
13
14
# File 'embulk-core/src/main/ruby/embulk/guess/schema_guess.rb', line 12

def format
  @format
end