class Antelope::DSL::Contexts::Terminal
Attributes
data[R]
terminals[R]
Public Instance Methods
terminal(map, value = true)
click to toggle source
# File lib/antelope/dsl/contexts/terminal.rb, line 5 def terminal(map, value = true) case map when Hash @terminals.merge!(map) when Symbol, String @terminals[map] = value else raise ArgumentError, "Unexpected #{map.class}, expected " \ "Hash or Symbol" end end
Private Instance Methods
before_call()
click to toggle source
# File lib/antelope/dsl/contexts/terminal.rb, line 22 def before_call @terminals = {} end