Class: Sass::Script::CrossBrowserFunctionCall
- Inherits:
-
Literal
- Object
- Literal
- Sass::Script::CrossBrowserFunctionCall
- Includes:
- HasSimpleCrossBrowserFunctionSupport, Value::Helpers
- Defined in:
- lib/compass/core/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.
55 56 57 58 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 55 def initialize(name, args) self.name = name self.args = args end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
50 51 52 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 50 def args @args end |
#name ⇒ Object
Returns the value of attribute name.
50 51 52 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 50 def name @name end |
Instance Method Details
#children ⇒ Object
60 61 62 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 60 def children args end |
#inspect ⇒ Object
64 65 66 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 64 def inspect to_s end |
#to_s(options = self.options) ⇒ Object
68 69 70 |
# File 'lib/compass/core/sass_extensions/monkey_patches/browser_support.rb', line 68 def to_s( = self.) "#{name}(#{args.map{|a| a.to_s()}.join(", ")})" end |