Module: Betsy::Model

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(other) ⇒ Object



75
76
77
# File 'lib/betsy/model.rb', line 75

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

Instance Method Details

#initialize(data = nil) ⇒ Object



71
72
73
# File 'lib/betsy/model.rb', line 71

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