Class: LinkCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/reggae.rb

Overview

Equivalent to link in the D version

Instance Method Summary collapse

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

#jsonifyObject



84
85
86
# File 'lib/reggae.rb', line 84

def jsonify
  { type: 'link', flags: @flags }
end