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



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

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

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

Yields:

  • (args)


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

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

#rtn_rio(*args, &block) ⇒ Object



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

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

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

Yields:

  • (args)


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

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

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

Yields:

  • (args)


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

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