Module: RIO::CallStr

Defined in:
lib/rio/callstr.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#callstr(func, *args) ⇒ Object



39
40
41
# File 'lib/rio/callstr.rb', line 39

def callstr(func,*args)
  self.class.to_s+'['+self.to_url+']'+'.'+func.to_s+'('+args.join(',')+')'
end

#scallstr(func, *args) ⇒ Object



42
43
44
# File 'lib/rio/callstr.rb', line 42

def scallstr(func,*args)
  self.class.to_s+'['+self.to_s+']'+'.'+func.to_s+'('+args.join(',')+')'
end