Module RubyEx
In: lib/ruby_ex.rb

Methods

dir   each   file_list   import_all!   skip  

Constants

VersionId = ::Version.parse("dev-ruby/ruby_ex-0.5_p2")

Public Instance methods

[Source]

# File lib/ruby_ex.rb, line 19
  def dir
    @@dir ||= Pathname.new(__FILE__).dirname.expand_path
  end

[Source]

# File lib/ruby_ex.rb, line 23
  def each ( &block )
    file_list.each(&block)
    self
  end

[Source]

# File lib/ruby_ex.rb, line 15
  def file_list
    @@file_list ||= PathList[dir + '(**/*).rb'].exclude(/\bsession\/error.rb\b/)
  end

[Source]

# File lib/ruby_ex.rb, line 28
  def import_all!
    file_list.import!
  end

[Source]

# File lib/ruby_ex.rb, line 32
  def skip ( file )
    false
  end

[Validate]