Class: Origen::Specs::Spec::Limit

Inherits:
Struct
  • Object
show all
Defined in:
lib/origen/specs/spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#expObject

Returns the value of attribute exp

Returns:

  • (Object)

    the current value of exp


11
12
13
# File 'lib/origen/specs/spec.rb', line 11

def exp
  @exp
end

Instance Method Details

#valueObject


12
13
14
# File 'lib/origen/specs/spec.rb', line 12

def value
  Origen::Specs::Spec.send(:evaluate_limit, exp)
end