Module: Interscript::DSL::Items::Maps

Defined in:
lib/interscript/dsl/items.rb

Overview

Implementation of ‘map.x`

Class Method Summary collapse

Class Method Details

.[](map) ⇒ Object Also known as: method_missing

Select a remote map



57
58
59
60
# File 'lib/interscript/dsl/items.rb', line 57

def [] map
  Symbol === map or raise Interscript::MapLogicError, "A map name must be a Symbol, not #{alias_name.class}"
  Map.new(map)
end