Class: Rdomino::Datetime

Inherits:
Object
  • Object
show all
Includes:
DomObject
Defined in:
lib/rdomino.rb

Instance Method Summary collapse

Methods included from DomObject

#empty?, #method_missing, #obj

Constructor Details

#initialize(time) ⇒ Datetime

Returns a new instance of Datetime.



11
12
13
# File 'lib/rdomino.rb', line 11

def initialize(time)
  @obj = Session.session.createDatetime(time.strftime("%d.%m.%Y %H:%M:%S"))
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Rdomino::DomObject