Class: So::Not
Instance Attribute Summary collapse
-
#x ⇒ Object
readonly
Returns the value of attribute x.
Class Method Summary collapse
Instance Method Summary collapse
- #evaluate(calls) ⇒ Object
-
#initialize(x) ⇒ Not
constructor
A new instance of Not.
- #pp(n) ⇒ Object
- #substitute(v, e) ⇒ Object
Methods inherited from Expr
#!, #<, #==, #>, #[], #assert_time, #assert_value, #to_so_expr
Constructor Details
#initialize(x) ⇒ Not
Returns a new instance of Not.
254 255 256 |
# File 'lib/spec_object.rb', line 254 def initialize(x) @x = x end |
Instance Attribute Details
#x ⇒ Object (readonly)
Returns the value of attribute x.
258 259 260 |
# File 'lib/spec_object.rb', line 258 def x @x end |