Class: Drillbit::Tokens::Null
- Inherits:
-
Object
- Object
- Drillbit::Tokens::Null
show all
- Includes:
- Singleton
- Defined in:
- lib/drillbit/tokens/null.rb
Instance Method Summary
collapse
Instance Method Details
#blank? ⇒ Boolean
14
15
16
|
# File 'lib/drillbit/tokens/null.rb', line 14
def blank?
true
end
|
#to_h ⇒ Object
18
19
20
|
# File 'lib/drillbit/tokens/null.rb', line 18
def to_h
[{}, {}]
end
|
#to_s ⇒ Object
22
23
24
|
# File 'lib/drillbit/tokens/null.rb', line 22
def to_s
''
end
|
#valid? ⇒ Boolean
10
11
12
|
# File 'lib/drillbit/tokens/null.rb', line 10
def valid?
true
end
|