Class: Cldr::Export::Data::Transforms

Inherits:
Base
  • Object
show all
Defined in:
lib/cldr/export/data/transforms.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#locale

Instance Method Summary collapse

Methods inherited from Base

#[]=, #update

Methods inherited from Hash

#deep_merge, #deep_stringify_keys, #symbolize_keys

Constructor Details

#initialize(transform_file) ⇒ Transforms

Returns a new instance of Transforms.



10
11
12
13
14
# File 'lib/cldr/export/data/transforms.rb', line 10

def initialize(transform_file)
  super(nil)  # no locale
  @transform_file = transform_file
  update(:transforms => transforms)
end

Instance Attribute Details

#transform_fileObject (readonly)

Returns the value of attribute transform_file.



8
9
10
# File 'lib/cldr/export/data/transforms.rb', line 8

def transform_file
  @transform_file
end