Class: Dommy::Backend::Makiri::Namespace

Inherits:
Struct
  • Object
show all
Defined in:
lib/dommy/backend/makiri_adapter.rb

Overview

A minimal namespace wrapper exposing the same href API that Nokogiri's Namespace object has, so calling code treats both backends uniformly.

Instance Attribute Summary collapse

Instance Attribute Details

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



29
30
31
# File 'lib/dommy/backend/makiri_adapter.rb', line 29

def href
  @href
end