Module: Humpyard::ActiveRecord::Acts::Element::ClassMethods

Defined in:
lib/humpyard/active_record/acts/element.rb

Overview

def method_missing(meth, *args, &blk)

  element.send(meth, *args, &blk)
rescue NoMethodError
  super
end

Instance Method Summary collapse

Instance Method Details

#is_humpyard_container_element?Boolean

Returns:

  • (Boolean)


62
63
64
# File 'lib/humpyard/active_record/acts/element.rb', line 62

def is_humpyard_container_element?
  false
end

#is_humpyard_element?Boolean

Returns:

  • (Boolean)


58
59
60
# File 'lib/humpyard/active_record/acts/element.rb', line 58

def is_humpyard_element?
  true
end