Class: Inline::ValueSafe

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

Instance Method Summary collapse

Instance Method Details

#inspectObject



489
490
491
# File 'lib/inline_acceleration.rb', line 489

def inspect
  to_s
end

#to_sObject



485
486
487
# File 'lib/inline_acceleration.rb', line 485

def to_s
  $TESTING ? @value : '[enable $TESTING]'
end

#valueObject



477
478
479
# File 'lib/inline_acceleration.rb', line 477

def value
  @value
end

#value=(data) ⇒ Object



481
482
483
# File 'lib/inline_acceleration.rb', line 481

def value=(data)
  @value = data
end