Class: LinkCommand
- Inherits:
-
Object
- Object
- LinkCommand
- Defined in:
- lib/reggae.rb
Overview
Equivalent to link in the D version
Instance Method Summary collapse
-
#initialize(flags) ⇒ LinkCommand
constructor
A new instance of LinkCommand.
- #jsonify ⇒ Object
Constructor Details
#initialize(flags) ⇒ LinkCommand
Returns a new instance of LinkCommand.
80 81 82 |
# File 'lib/reggae.rb', line 80 def initialize(flags) @flags = flags end |
Instance Method Details
#jsonify ⇒ Object
84 85 86 |
# File 'lib/reggae.rb', line 84 def jsonify { type: 'link', flags: @flags } end |