Class: Rubysh::BaseDirective
- Inherits:
-
Object
- Object
- Rubysh::BaseDirective
show all
- Defined in:
- lib/rubysh/base_directive.rb
Instance Method Summary
collapse
Instance Method Details
#apply!(runner) ⇒ Object
15
16
17
|
# File 'lib/rubysh/base_directive.rb', line 15
def apply!(runner)
raise NotImplementedError.new("Override in subclass")
end
|
#apply_parent!(runner) ⇒ Object
11
12
13
|
# File 'lib/rubysh/base_directive.rb', line 11
def apply_parent!(runner)
raise NotImplementedError.new("Override in subclass")
end
|
#prepare!(runner) ⇒ Object
7
8
9
|
# File 'lib/rubysh/base_directive.rb', line 7
def prepare!(runner)
raise NotImplementedError.new("Override in subclass")
end
|
#state(runner) ⇒ Object
20
21
22
|
# File 'lib/rubysh/base_directive.rb', line 20
def state(runner)
runner.state(self)
end
|
#stringify ⇒ Object
3
4
5
|
# File 'lib/rubysh/base_directive.rb', line 3
def stringify
raise NotImplementedError.new("Override in subclass")
end
|