Class: SqlBeautifier::Comment

Inherits:
Base
  • Object
show all
Defined in:
lib/sql_beautifier/comment.rb

Constant Summary collapse

TYPES =
i[
  inline
  line
  blocks
].freeze

Instance Method Summary collapse

Instance Method Details

#render ⇒ Object



19
20
21
# File 'lib/sql_beautifier/comment.rb', line 19

def render
  @content
end

#renderable? ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/sql_beautifier/comment.rb', line 15

def renderable?
  @renderable
end