Project

yuuki

0.0
No release in over a year
A caller / runner framework for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Yuuki

A caller / runner framework for Ruby.

Installation

Add this line to your application's Gemfile:

gem 'yuuki'

And then execute:

$ bundle

Or install it yourself as:

$ gem install yuuki

Usage

require 'yuuki'

class HogeClass
  extend Yuuki::Runner

  add :a
  def a
    puts 'a'
  end

  add :b
  tag :b, :tag_b
  def b
    puts 'b'
  end
end

yuuki = Yuuki::Caller.new(HogeClass)
yuuki.run
# a
# b

yuuki.run_tag(:tag_b)
# b

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ishotihadus/yuuki.

License

The gem is available as open source under the terms of the MIT License.