Class: Sass::Script::CrossBrowserFunctionCall
- Inherits:
-
Literal
- Object
- Literal
- Sass::Script::CrossBrowserFunctionCall
- Includes:
- HasSimpleCrossBrowserFunctionSupport
- Defined in:
- lib/compass/sass_extensions/monkey_patches/browser_support.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #children ⇒ Object
-
#initialize(name, args) ⇒ CrossBrowserFunctionCall
constructor
A new instance of CrossBrowserFunctionCall.
- #inspect ⇒ Object
- #to_s(options = self.options) ⇒ Object
Methods included from HasSimpleCrossBrowserFunctionSupport
Constructor Details
#initialize(name, args) ⇒ CrossBrowserFunctionCall
Returns a new instance of CrossBrowserFunctionCall.
25 26 27 28 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 25 def initialize(name, args) self.name = name self.args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
21 22 23 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 21 def args @args end |
#name ⇒ Object
Returns the value of attribute name.
21 22 23 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 21 def name @name end |
Instance Method Details
#children ⇒ Object
30 31 32 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 30 def children args end |
#inspect ⇒ Object
34 35 36 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 34 def inspect to_s end |
#to_s(options = self.options) ⇒ Object
38 39 40 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 38 def to_s( = self.) s = "#{name}(#{args.join(", ")})" end |