class Aquanaut::AssetNode

An asset node is a node that represents a static asset. The type specifies what kind of static asset it is, for instance image or stylesheet.

Attributes

type[R]

Public Class Methods

new(uri, type) click to toggle source

Constructor

@param [URI] uri identifying the static asset uniquely.

@param [String] type specifying the kind of static asset.

Calls superclass method
# File lib/aquanaut/asset_node.rb, line 17
def initialize(uri, type)
  @type = type
  super(uri)
end