Exception: Polytrix::Documentation::CommentStyles::UnknownStyleError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/polytrix/documentation/comment_styles.rb

Instance Attribute Summary collapse

Attributes inherited from StandardError

#original

Instance Method Summary collapse

Methods included from Error

formatted_exception, formatted_trace

Constructor Details

#initialize(extension) ⇒ UnknownStyleError

Returns a new instance of UnknownStyleError.



9
10
11
# File 'lib/polytrix/documentation/comment_styles.rb', line 9

def initialize(extension)
  @extension = extension
end

Instance Attribute Details

#extensionObject

Returns the value of attribute extension.



7
8
9
# File 'lib/polytrix/documentation/comment_styles.rb', line 7

def extension
  @extension
end