Class: Qor::Layout::Asset

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/qor/layout/asset.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method_sym, *args, &block) ⇒ Object



14
15
16
17
18
19
# File 'app/models/qor/layout/asset.rb', line 14

def method_missing(method_sym, *args, &block)
  if data.respond_to?(method_sym)
    return data.send(method_sym, *args)
  end
  super
end