Class: CodeMiner::FalseExpression
- Inherits:
-
Expression
- Object
- Expression
- CodeMiner::FalseExpression
- Defined in:
- lib/codeminer/expressions/false_expression.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from Expression
#args, #block, #delimiter, #src, #token
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(token, src) ⇒ FalseExpression
constructor
A new instance of FalseExpression.
- #type ⇒ Object
Methods inherited from Expression
Methods included from SourceExtract::Usage
#adjust_src, #column, #column=, #end_column, #end_column=, #end_line, #end_line=, #line, #line=, #src, #src_extract
Constructor Details
#initialize(token, src) ⇒ FalseExpression
Returns a new instance of FalseExpression.
7 8 9 10 |
# File 'lib/codeminer/expressions/false_expression.rb', line 7 def initialize(token, src) @token = token @src = src end |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
5 6 7 |
# File 'lib/codeminer/expressions/false_expression.rb', line 5 def value @value end |
Instance Method Details
#each ⇒ Object
16 17 18 |
# File 'lib/codeminer/expressions/false_expression.rb', line 16 def each [] end |
#type ⇒ Object
12 13 14 |
# File 'lib/codeminer/expressions/false_expression.rb', line 12 def type :false end |