Class: Cyberweb::Cmd1
Overview
#
Cyberweb::Cmd1
#
Constant Summary
Constants inherited from Cmd
Class Method Summary collapse
-
.append(i) ⇒ Object
# === Cyberweb::Cmd1.append.
- .css_rules? ⇒ Boolean
Instance Method Summary collapse
-
#initialize ⇒ Cmd1
constructor
A new instance of Cmd1.
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 ⇒ Cmd1
Returns a new instance of Cmd1.
159 160 161 |
# File 'lib/cyberweb/cmd/cmd.rb', line 159 def initialize set DEFAULT_VALUES[:cmd1] end |
Class Method Details
.append(i) ⇒ Object
#
Cyberweb::Cmd1.append
This method can be used to append to the :cmd1 variable.
#
171 172 173 |
# File 'lib/cyberweb/cmd/cmd.rb', line 171 def self.append(i) Cyberweb.append_to_cmd1(i) end |
.css_rules? ⇒ Boolean
162 163 164 |
# File 'lib/cyberweb/cmd/cmd.rb', line 162 def self.css_rules? new.css_rules? end |