Sha256: 199bf19843d16545e3309f56776e537ec99a4ce412fec288ca8fc4fb3a2ae7ea

Contents?: true

Size: 303 Bytes

Versions: 11

Compression:

Stored size: 303 Bytes

Contents

# -*- coding: utf-8 -*-
require 'pp'
require 'yaml'
require 'json'
require "nb_util/version"
require 'cli'

module NbUtil
  module_function

  directry = "#{Dir.home}"
  def get_name(str)
    str.delete(' ').split(/[\/]/)
  end
  name = get_name(directry)
  puts "nb_util says hello, #{name[2]} !!"
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
nb_util-0.4.8 lib/nb_util.rb
nb_util-0.4.7 lib/nb_util.rb
nb_util-0.4.5 lib/nb_util.rb
nb_util-0.4.4 lib/nb_util.rb
nb_util-0.4.3 lib/nb_util.rb
nb_util-0.4.2 lib/nb_util.rb
nb_util-0.4.1 lib/nb_util.rb
nb_util-0.4.0 lib/nb_util.rb
nb_util-0.3.8 lib/nb_util.rb
nb_util-0.3.5 lib/nb_util.rb
nb_util-0.3.4 lib/nb_util.rb