Class: SublimeDSL::TextMate::Grammar::Rule

Inherits:
Object
  • Object
show all
Defined in:
lib/sublime_dsl/textmate/grammar.rb

Overview

An abstract rule.

Direct Known Subclasses

BeginEndRule, MatchRule, NoMatchRule

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commentObject

Returns the value of attribute comment.



128
129
130
# File 'lib/sublime_dsl/textmate/grammar.rb', line 128

def comment
  @comment
end

#disabledObject

Returns the value of attribute disabled.



129
130
131
# File 'lib/sublime_dsl/textmate/grammar.rb', line 129

def disabled
  @disabled
end

#scopeObject

Returns the value of attribute scope.



127
128
129
# File 'lib/sublime_dsl/textmate/grammar.rb', line 127

def scope
  @scope
end

Instance Method Details

#complete!(grammar) ⇒ Object



130
# File 'lib/sublime_dsl/textmate/grammar.rb', line 130

def complete!(grammar) end