Sha256: 91fe3e056c2a32847657037db060401908b6ea537ac1e00b4093807cc29fc844
Contents?: true
Size: 297 Bytes
Versions: 11
Compression:
Stored size: 297 Bytes
Contents
module Yaks class Resource class Link include Attributes.new(:rel, :uri, options: {}) def title options[:title] end def templated? options.fetch(:templated) { false } end def rel?(rel) rel().eql? rel end end end end
Version data entries
11 entries across 11 versions & 1 rubygems