Sha256: 296729ce77c8052ad735d263edb269819dfa0de8eddcfd77ba93a1210e09fef3

Contents?: true

Size: 1.21 KB

Versions: 17

Compression:

Stored size: 1.21 KB

Contents

= README

revision::	$Rev: 1 $
release::	$Release: 1.0.0 $
copyright::	copyright(c) 2006 kuwata-lab.com all rights reserved.


== Introduction

'abstract.rb' is a library which enable you to define abstract method in Ruby.

The followings are examples:

  ## example1. (shorter notation)
  require 'rubygems'   # if installed with 'gem install'
  require 'abstract'
  class Foo
    abstract_method 'arg1, arg2=""', :method1, :method2, :method3
  end
  
  ## example2. (RDoc friendly notation)
  require 'rubygems'   # if installed with 'gem install'
  require 'abstract'
  class Bar
    # ... method1 description ...
    def method1(arg1, arg2="")
      not_implemented
    end
    # ... method2 description ...
    def method2(arg1, arg2="")
      not_implemented
    end
  end


Abstract method makes your code more descriptive.
It is useful even for dynamic language such as Ruby.


== Installation


* Type 'gem install -r abstract' with root account if you have installed RubyGems.

* Or type 'ruby setup.rb' with root account if you can be root account.

* Or copy lib/abstract.rb into proper directory such as '/usr/local/lib/ruby/site_ruby'.


== License

Ruby's


== Copyright

copyright(c) 2006 kuwata-lab.com all rights reserved.

Version data entries

17 entries across 15 versions & 4 rubygems

Version Path
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
merb-core-1.1.0.rc1 spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
simple-templater-0.0.1.4 gems/gems/abstract-1.0.0/README.txt
simple-templater-0.0.1.3 vendor/abstract/README.txt
simple-templater-0.2.pre vendor/abstract/README.txt
simple-templater-0.0.1.2 vendor/abstract/README.txt
simple-templater-0.0.1.1 vendor/abstract/README.txt
rango-0.0.6 vendor/abstract/README.txt
rango-0.0.6 vendor/simple-templater/vendor/abstract/README.txt
rango-0.1.pre vendor/simple-templater/vendor/abstract/README.txt
rango-0.1.pre vendor/abstract/README.txt
simple-templater-0.0.1 vendor/abstract/README.txt
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/abstract-1.0.0/README.txt
abstract-1.0.0 README.txt