Class: SsSyntax::Parses::Comment
- Inherits:
-
Object
- Object
- SsSyntax::Parses::Comment
- Defined in:
- lib/ss_syntax/parses/comment.rb
Class Method Summary collapse
Class Method Details
.check(text) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/ss_syntax/parses/comment.rb', line 4 def self.check(text) # TODO: 文の途中で#が出てきてもサポートする if text.match(/^#/) return true end return false end |