find_tag

find_tag(conditions) Instance Public methods

get_attrs

get_attrs(var) Instance Public methods

dynamic_width

dynamic_width() Instance Public methods Calculate the dynamic width of the

abbreviate

abbreviate(spec) Instance Public methods Abbreviate the spec for downloading. Abbreviated specs are only used for searching, downloading and related activities and do not need deployment specific information (e.g. list of files). So we abbreviate the spec, making it much smaller for quicker downloads.

lindex

lindex(idx) Instance Public methods Also aliased as: lget

nocbreak

nocbreak() Class Public methods Put the terminal into normal mode (out of cbreak mode). See ::cbreak for more detail.

insert

insert(pos,text) Instance Public methods

glob

Dir.glob( pattern, [flags] ) â arrayDir.glob( pattern, [flags] ) {| filename | block } â nil Class Public methods Returns the filenames found by expanding pattern which is an Array of the patterns or the pattern String, either as an array or as parameters to the block. Note that this pattern is not a regexp (it's closer to a shell glob). See File::fnmatch for the meaning of the flags parameter. Note that case sensitivity depends on your system (so File::FNM_CASEFOLD is ignored),

to_param

to_param() Instance Public methods Returns a String, which Action Pack uses for constructing an URL to this object. The default implementation returns this record's id as a String, or nil if this record's unsaved. For example, suppose that you have a User model, and that you have a resources :users route. Normally, user_path will construct a path with the user object's 'id' in it: user = User.find_by(name: 'Phusion') user_path(user) # => "/users/1" You can override to_param in

not_set_name

not_set_name() Class Public methods