Skip to content
This repository

Tagen Guide

Getting Start

Load core extensions

require "tagen/core/array/delete_values"
require "tagen/core"                           # load all core extensions at once.

Load standard and other libraries

require "tagen/erb"
require "tagen/xmpp4r"

Extension Reference

Core extension

"tagen/core.rb"

require "pd"
require "active_support/concern"
...

Object

(from active_support) #blank? present? present in? try `cmd instance_values

Kernel

$sudo #sh system                                      # tagen/core/kernel/shell.rb
#linux? posix? mac? windows? bsd? solaris? symbian?   # tagen/core/kernel/platform.rb
#deprecate                                            # tagen/core/kernel/deprecate.rb
(from active_support) #capture,slience quietly 

Module

require "active_support/core_ext/module"

Class

require "active_support/core_ext/class"

Numberic

#div2
require "active_support/core_ext/numeric"

Integer

require "active_support/core_ext/integer"

String

#ascii
require "active_support/core_ext/string"

Enumerable

#grep_values
(from active_support) #sum exclude? many? index_by

Enumerator

#with_iobject

Array

#append                            # core/tagen/array/append.rb
#extract_options[!]                # core/tagen/array/extract_options.rb
#delete_values delete_values_at    # core/tagen/array/delete_values.rb
(from active_support) .wrap #uniq_by[!]

Hash

(from active_support) #deep_merge slice[!] extract! stringify_keys[!] symbolize_keys[!],to_options[!]

Time

.time
Numberic#time_humanize
require "active_support/time"

Exception

.exit_code,=  #exit_code

IO

.write append
#fd

Process

.exists?(pid)

MatchData

#to_hash

Stdlib

RbConfig

.[]

ERB

#results

Pathname

#path 

BasciSocket

#send2 recv2 send_obj recv_obj

Socket

#addr #unaddr

URI::Generic

#to_hash

Net::HTTP

.get1 post1

Other libraries

"vim"

vimprint

"xmpp4r"

bugfix to support UTF-8 characthers
Something went wrong with that request. Please try again.