Sha256: e05ae78bae4ad6accb8bc89df36bc35ea215b5deaf552d45f9ee65c8584b44c2

Contents?: true

Size: 298 Bytes

Versions: 10

Compression:

Stored size: 298 Bytes

Contents

module Browser; module CSS; class Rule

class Style < Rule
  alias_native :selector, :selectorText
  alias_native :id, :selectorText

  def declaration
    Declaration.new(`#@native.style`)
  end

  def method_missing(*args, &block)
    declaration.__send__(*args, &block)
  end
end

end; end; end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
opal-browser-0.3.4 opal/browser/css/rule/style.rb
atome-opal-browser-0.3.9.5 opal/browser/css/rule/style.rb
opal-browser-0.3.3 opal/browser/css/rule/style.rb
opal-browser-0.3.2 opal/browser/css/rule/style.rb
opal-browser-0.3.1 opal/browser/css/rule/style.rb
opal-browser-0.3.0 opal/browser/css/rule/style.rb
diamonds-0.1.5 lib/diamonds/opal/browser/css/rule/style.rb
opal-browser-0.2.0 opal/browser/css/rule/style.rb
opal-browser-0.2.0.beta1 opal/browser/css/rule/style.rb
opal-browser-0.1.0.beta1 opal/browser/css/rule/style.rb