Class: Dramaturg::Value::Base
- Inherits:
-
Object
- Object
- Dramaturg::Value::Base
show all
- Defined in:
- lib/dramaturg/value/base.rb
Instance Method Summary
collapse
Constructor Details
#initialize(value) ⇒ Base
4
5
6
|
# File 'lib/dramaturg/value/base.rb', line 4
def initialize(value)
@value = value
end
|
Instance Method Details
#for_debug_prompt ⇒ Object
12
13
14
|
# File 'lib/dramaturg/value/base.rb', line 12
def for_debug_prompt
@value
end
|
#for_prompt ⇒ Object
8
9
10
|
# File 'lib/dramaturg/value/base.rb', line 8
def for_prompt
@value
end
|
#for_run ⇒ Object
16
17
18
|
# File 'lib/dramaturg/value/base.rb', line 16
def for_run
@value
end
|
#to_s ⇒ Object
should match parser input
26
27
28
|
# File 'lib/dramaturg/value/base.rb', line 26
def to_s
for_prompt
end
|