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)
-
- (Object) args
Returns the value of attribute args.
-
- (Object) name
Returns the value of attribute name.
Instance Method Summary (collapse)
- - (Object) children
-
- (CrossBrowserFunctionCall) initialize(name, args)
constructor
A new instance of CrossBrowserFunctionCall.
- - (Object) inspect
- - (Object) to_s(options = self.options)
Methods included from HasSimpleCrossBrowserFunctionSupport
Constructor Details
- (CrossBrowserFunctionCall) initialize(name, args)
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
- (Object) args
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 |
- (Object) name
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
- (Object) children
30 31 32 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 30 def children args end |
- (Object) inspect
34 35 36 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 34 def inspect to_s end |
- (Object) to_s(options = self.options)
38 39 40 |
# File 'lib/compass/sass_extensions/monkey_patches/browser_support.rb', line 38 def to_s( = self.) s = "#{name}(#{args.join(", ")})" end |