Top Level Namespace

Defined Under Namespace

Modules: Bop

Class Method Summary collapse

Class Method Details

.[](type) ⇒ Object



37
38
39
# File 'app/models/bop/block_type.rb', line 37

def self.[](type)
  find(type)
end

.find(type) ⇒ Object



33
34
35
# File 'app/models/bop/block_type.rb', line 33

def self.find(type)
  @@type_lookup[type] if type
end