Class: Cyberweb::Cmd2
Overview
#
Cyberweb::Cmd2
#
Constant Summary
Constants inherited from Cmd
Class Method Summary collapse
-
.append(i) ⇒ Object
# === Cyberweb::Cmd2.append.
- .css_rules? ⇒ Boolean
Instance Method Summary collapse
-
#initialize ⇒ Cmd2
constructor
A new instance of Cmd2.
Methods inherited from Cmd
append_this_css, cmd1=, cmd2=, cmd3=, cmd4=, cmd5=, #reset, #set_use_these_css_rules, #use_these_css_rules?
Constructor Details
#initialize ⇒ Cmd2
Returns a new instance of Cmd2.
181 182 183 |
# File 'lib/cyberweb/cmd/cmd.rb', line 181 def initialize set DEFAULT_VALUES[:cmd2] end |
Class Method Details
.append(i) ⇒ Object
#
Cyberweb::Cmd2.append
This method can be used to append to the :cmd1 variable.
#
193 194 195 |
# File 'lib/cyberweb/cmd/cmd.rb', line 193 def self.append(i) Cyberweb.append_to_cmd2(i) end |
.css_rules? ⇒ Boolean
184 185 186 |
# File 'lib/cyberweb/cmd/cmd.rb', line 184 def self.css_rules? new.css_rules? end |