Class: RLSL::BaseTranslator::SourceSnippet
- Inherits:
-
Struct
- Object
- Struct
- RLSL::BaseTranslator::SourceSnippet
- Defined in:
- lib/rlsl/base_translator.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#format ⇒ Object
Returns the value of attribute format.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
7 8 9 |
# File 'lib/rlsl/base_translator.rb', line 7 def code @code end |
#format ⇒ Object
Returns the value of attribute format
7 8 9 |
# File 'lib/rlsl/base_translator.rb', line 7 def format @format end |
Instance Method Details
#target_code? ⇒ Boolean
8 9 10 |
# File 'lib/rlsl/base_translator.rb', line 8 def target_code? format == :target end |