Class: Datacaster::ContextNodes::I18n

Inherits:
Datacaster::ContextNode show all
Defined in:
lib/datacaster/context_nodes/i18n.rb

Instance Method Summary collapse

Methods inherited from Datacaster::ContextNode

#cast, #inspect

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