class Strut::ImportCommand
Attributes
namespace[R]
Public Class Methods
new(id, metadata, namespace)
click to toggle source
Calls superclass method
Strut::SlimCommand::new
# File lib/strut/slim_command.rb, line 25 def initialize(id, metadata, namespace) super(id, metadata) @namespace = namespace end
Public Instance Methods
command()
click to toggle source
# File lib/strut/slim_command.rb, line 30 def command "import" end
to_a()
click to toggle source
Calls superclass method
Strut::SlimCommand#to_a
# File lib/strut/slim_command.rb, line 34 def to_a super + [@namespace] end
to_s()
click to toggle source
# File lib/strut/slim_command.rb, line 38 def to_s "#{super} import #{@namespace}" end