module Goaltender::BaseModule::ClassMethods
Public Instance Methods
input(name, type = nil, options = {})
click to toggle source
# File lib/goaltender/base_module.rb, line 11 def input(name, type = nil, options = {}) @@input_definitions ||= {} array = @@input_definitions[self.name].present? ? @@input_definitions[self.name] : [] array << [name, type, options] @@input_definitions[self.name] = array end
input_definitions()
click to toggle source
# File lib/goaltender/base_module.rb, line 18 def input_definitions @@input_definitions end