Class: Cyberweb::Cmd3

Inherits:
Cmd
  • Object
show all
Defined in:
lib/cyberweb/cmd/cmd.rb

Overview

#

Cyberweb::Cmd3

#

Constant Summary

Constants inherited from Cmd

Cyberweb::Cmd::DEFAULT_VALUES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Cmd

append_this_css, cmd1=, cmd2=, cmd3=, cmd4=, cmd5=, #reset, #set_use_these_css_rules, #use_these_css_rules?

Constructor Details

#initializeCmd3

Returns a new instance of Cmd3.



203
204
205
# File 'lib/cyberweb/cmd/cmd.rb', line 203

def initialize
  set DEFAULT_VALUES[:cmd3]
end

Class Method Details

.append(i) ⇒ Object

#

Cyberweb::Cmd3.append

This method can be used to append to the :cmd3 variable.

#


215
216
217
# File 'lib/cyberweb/cmd/cmd.rb', line 215

def self.append(i)
  Cyberweb.append_to_cmd3(i)
end

.css_rules?Boolean

Returns:

  • (Boolean)


206
207
208
# File 'lib/cyberweb/cmd/cmd.rb', line 206

def self.css_rules?
  new.css_rules?
end