Class: Quark::MdkRuntime::Time
- Inherits:
-
DatawireQuarkCore::QuarkObject
- Object
- DatawireQuarkCore::QuarkObject
- Quark::MdkRuntime::Time
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk_runtime.rb
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
-
#initialize ⇒ Time
constructor
A new instance of Time.
-
#time ⇒ Object
Return the current time in seconds since the Unix epoch.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Methods inherited from DatawireQuarkCore::QuarkObject
Constructor Details
#initialize ⇒ Time
Returns a new instance of Time.
256 257 258 259 260 |
# File 'lib/mdk_runtime.rb', line 256 def initialize() self.__init_fields__ nil end |
Instance Method Details
#__init_fields__ ⇒ Object
275 276 277 278 279 |
# File 'lib/mdk_runtime.rb', line 275 def __init_fields__() nil end |
#time ⇒ Object
Return the current time in seconds since the Unix epoch.
269 270 271 272 273 |
# File 'lib/mdk_runtime.rb', line 269 def time() raise NotImplementedError, '`Time.time` is an abstract method' nil end |