Class: Engine2::RootMeta

Inherits:
Meta show all
Defined in:
lib/engine2/meta.rb

Instance Attribute Summary

Attributes inherited from Meta

#action, #assets, #invokable, #static

Instance Method Summary collapse

Methods inherited from Meta

#action_defined, #check_static_meta, #dynamic?, #freeze_meta, #get, #http_method, http_method, inherited, #invoke!, #lookup, #merge, meta_type, #meta_type, #post_process, #post_run, #pre_run, #request, #request_meta_proc_params, #split_keys

Constructor Details

#initialize(*args) ⇒ RootMeta

Returns a new instance of RootMeta.



134
135
136
137
138
# File 'lib/engine2/meta.rb', line 134

def initialize *args
    super
    @meta[:environment] = Handler::environment
    @meta[:application] = Engine2::app_name
end