Class: Chelsy::Directive::Pragma
- Defined in:
- lib/chelsy/ast.rb
Overview
#pragma
Direct Known Subclasses
Instance Attribute Summary collapse
-
#pragma ⇒ Object
readonly
Returns the value of attribute pragma.
Instance Method Summary collapse
-
#initialize(pragma, **rest) ⇒ Pragma
constructor
A new instance of Pragma.
Constructor Details
#initialize(pragma, **rest) ⇒ Pragma
Returns a new instance of Pragma.
1268 1269 1270 1271 |
# File 'lib/chelsy/ast.rb', line 1268 def initialize(pragma, **rest) @pragma = Chelsy.immutable_stringify(pragma) super **rest end |
Instance Attribute Details
#pragma ⇒ Object (readonly)
Returns the value of attribute pragma.
1266 1267 1268 |
# File 'lib/chelsy/ast.rb', line 1266 def pragma @pragma end |