module SonJay::ActsAsModel

Public Class Methods

included(other) click to toggle source
# File lib/son_jay/acts_as_model.rb, line 4
def self.included(other)
  other.extend ClassBehavior
end

Public Instance Methods

inspect() click to toggle source
# File lib/son_jay/acts_as_model.rb, line 17
def inspect
  "#<#{self.class.name} #{to_json}>"
end
sonj_content() click to toggle source

Deprecated

# File lib/son_jay/acts_as_model.rb, line 9
def sonj_content
  model_content
end
to_s() click to toggle source
# File lib/son_jay/acts_as_model.rb, line 13
def to_s
  to_json
end