Class: Datacaster::ContextNodes::I18n
- Inherits:
-
Datacaster::ContextNode
- Object
- Base
- Datacaster::ContextNode
- Datacaster::ContextNodes::I18n
- Defined in:
- lib/datacaster/context_nodes/i18n.rb
Instance Method Summary collapse
-
#initialize(base, i18n_value) ⇒ I18n
constructor
A new instance of I18n.
Methods inherited from Datacaster::ContextNode
Methods included from Mixin
#&, #*, #call, #call_with_runtime, #cast_errors, #i18n_key, #i18n_map_keys, #i18n_scope, #i18n_vars, #inspect, #then, #with_context, #with_object_context, #with_runtime, #|
Constructor Details
#initialize(base, i18n_value) ⇒ I18n
Returns a new instance of I18n.
4 5 6 7 |
# File 'lib/datacaster/context_nodes/i18n.rb', line 4 def initialize(base, i18n_value) super(base) @i18n_value = i18n_value end |