Module: Frepl
- Extended by:
- Frepl
- Included in:
- Frepl
- Defined in:
- lib/frepl.rb,
lib/frepl/version.rb,
lib/frepl/statement.rb,
lib/frepl/classifier.rb,
lib/frepl/fortran_file.rb,
lib/frepl/statements/where.rb,
lib/frepl/statements/do_loop.rb,
lib/frepl/statements/function.rb,
lib/frepl/statements/execution.rb,
lib/frepl/statements/allocation.rb,
lib/frepl/statements/assignment.rb,
lib/frepl/statements/subroutine.rb,
lib/frepl/statements/declaration.rb,
lib/frepl/statements/derived_type.rb,
lib/frepl/statements/if_statement.rb,
lib/frepl/statements/repl_command.rb,
lib/frepl/statements/multi_declaration.rb,
lib/frepl/statements/standalone_variable.rb
Defined Under Namespace
Classes: Allocation, Assignment, Classifier, Declaration, DerivedType, DoLoop, Execution, FortranFile, Function, IfStatement, Main, MultiDeclaration, MultilineStatement, ReplCommand, SinglelineStatement, StandaloneVariable, Statement, Subroutine, Where
Constant Summary collapse
- VERSION =
"0.0.1"
Instance Attribute Summary collapse
-
#compiler ⇒ Object
Returns the value of attribute compiler.
-
#debug ⇒ Object
Returns the value of attribute debug.
Instance Method Summary collapse
Instance Attribute Details
#compiler ⇒ Object
Returns the value of attribute compiler.
10 11 12 |
# File 'lib/frepl.rb', line 10 def compiler @compiler end |
#debug ⇒ Object
Returns the value of attribute debug.
10 11 12 |
# File 'lib/frepl.rb', line 10 def debug @debug end |
Instance Method Details
#log(message) ⇒ Object
12 13 14 |
# File 'lib/frepl.rb', line 12 def log() puts if @debug end |
#output(o) ⇒ Object
16 17 18 |
# File 'lib/frepl.rb', line 16 def output(o) puts o end |