Module: RIO::Symantics

Included in:
RIO::State::Base
Defined in:
lib/rio/symantics.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#rtn_new(*args, &block) ⇒ Object



41
# File 'lib/rio/symantics.rb', line 41

def rtn_new(*args,&block)  self.class.new(yield(*args)) end

#rtn_reset(*args) {|args| ... } ⇒ Object

Yields:

  • (args)


40
# File 'lib/rio/symantics.rb', line 40

def rtn_reset(*args,&block) yield(*args); softreset() end

#rtn_rio(*args, &block) ⇒ Object



42
# File 'lib/rio/symantics.rb', line 42

def rtn_rio(*args,&block)  new_rio(yield(*args)) end

#rtn_self(*args) {|args| ... } ⇒ Object

Yields:

  • (args)


39
# File 'lib/rio/symantics.rb', line 39

def rtn_self(*args,&block) yield(*args); self end

#rtn_val(*args) {|args| ... } ⇒ Object

Yields:

  • (args)


43
# File 'lib/rio/symantics.rb', line 43

def rtn_val(*args,&block) yield(*args) end