Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/opticon/service.rb

Overview

this makes it possible to use Strings like Service objects

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



94
95
96
# File 'lib/opticon/service.rb', line 94

def method_missing(method, *args, &block)
  service.send(method, *args, &block)
end