Class: SublimeDSL::TextMate::Grammar::Include
- Inherits:
-
Object
- Object
- SublimeDSL::TextMate::Grammar::Include
- Defined in:
- lib/sublime_dsl/textmate/grammar.rb
Overview
An included fragment.
Instance Attribute Summary collapse
-
#comment ⇒ Object
Returns the value of attribute comment.
-
#fragment ⇒ Object
Returns the value of attribute fragment.
-
#fragment_name ⇒ Object
readonly
Returns the value of attribute fragment_name.
Instance Method Summary collapse
-
#initialize(fragment_name) ⇒ Include
constructor
A new instance of Include.
Constructor Details
#initialize(fragment_name) ⇒ Include
Returns a new instance of Include.
118 119 120 |
# File 'lib/sublime_dsl/textmate/grammar.rb', line 118 def initialize(fragment_name) @fragment_name = fragment_name end |
Instance Attribute Details
#comment ⇒ Object
Returns the value of attribute comment.
117 118 119 |
# File 'lib/sublime_dsl/textmate/grammar.rb', line 117 def comment @comment end |
#fragment ⇒ Object
Returns the value of attribute fragment.
116 117 118 |
# File 'lib/sublime_dsl/textmate/grammar.rb', line 116 def fragment @fragment end |
#fragment_name ⇒ Object (readonly)
Returns the value of attribute fragment_name.
115 116 117 |
# File 'lib/sublime_dsl/textmate/grammar.rb', line 115 def fragment_name @fragment_name end |