Module: Betsy::Model

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(other) ⇒ Object



99
100
101
# File 'lib/betsy/model.rb', line 99

def self.included(other)
  other.extend(ClassMethods)
end

Instance Method Details

#initialize(data = nil) ⇒ Object



95
96
97
# File 'lib/betsy/model.rb', line 95

def initialize(data = nil)
  @result = data
end