Sha256: 6c614292b25510bd119aa7a4f22d8e905c7365e935d48a6aa9d4c25c01344ac7

Contents?: true

Size: 225 Bytes

Versions: 2

Compression:

Stored size: 225 Bytes

Contents

= Annotated Attribute Methods

Load the attributes library.

  require 'anise/attribute'
  
Create a class that includes it.

  class X
    include Anise::Attribute

    attr :a, :count => 1
  end

  X.ann(:a, :count) #=> 1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
anise-0.6.0 qed/03_attributes.rdoc
anise-0.5.0 qed/03_attributes.rdoc