Module: ActiveAny::Core

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_any/core.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



60
61
62
# File 'lib/active_any/core.rb', line 60

def [](key)
  send(key)
end

#initialize(*args) ⇒ Object



52
53
54
# File 'lib/active_any/core.rb', line 52

def initialize(*args)
  init_internals(*args)
end

#new_record?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/active_any/core.rb', line 56

def new_record?
  false
end