Module: RFlow::Components::Clock::Tick::Extension

Defined in:
lib/rflow/components/clock.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base_data) ⇒ Object



12
# File 'lib/rflow/components/clock.rb', line 12

def self.extended(base_data); base_data.data_object ||= {}; end

Instance Method Details

#nameObject



13
# File 'lib/rflow/components/clock.rb', line 13

def name; data_object['name']; end

#name=(new_name) ⇒ Object



14
# File 'lib/rflow/components/clock.rb', line 14

def name=(new_name); data_object['name'] = new_name; end

#timestampObject



15
# File 'lib/rflow/components/clock.rb', line 15

def timestamp; data_object['timestamp']; end

#timestamp=(new_ts) ⇒ Object



16
# File 'lib/rflow/components/clock.rb', line 16

def timestamp=(new_ts); data_object['timestamp'] = new_ts; end