image_subsample(src, dest, x, y, width, height, horiz_filter=None, vert_filter=None) Class Public methods
rdoc(req, res) Instance Public methods Can be used for quick navigation to the rdoc documentation. You can then define a search shortcut for your browser. E.g. in Firefox connect 'shortcut:rdoc' to localhost:8808/rdoc?q=%s template. Then you can directly open the ActionPack documentation by typing 'rdoc actionp'. If there are multiple hits for the search term, they are presented as a list with links. Search algorithm aims for an intuitive search: first try to find the gems and d
video_tag(*sources) Instance Public methods Returns an html video tag for the sources. If sources is a string, a single video tag will be returned. If sources is an array, a video tag with nested source tags for each source will be returned. The sources can be full paths or files that exists in your public videos directory. Options You can add HTML attributes using the options. The options supports two additional keys for convenience and conformance: :poster - Set an image (like a
instance() Class Public methods Return the authoritative instance of the command manager.
stat.mode â fixnum Instance Public methods Returns an integer representing the permission bits of stat. The meaning of the bits is platform dependent; on Unix systems, see stat(2). File.chmod(0644, "testfile") #=> 1 s = File.stat("testfile") sprintf("%o", s.mode) #=> "100644"
_unset_global_var(p1) Instance Public methods
beginning_of_week(start_day = Date.beginning_of_week) Instance Public methods Returns a new date/time representing the start of this week on the given day. Week is assumed to start on start_day, default is Date.beginning_of_week or config.beginning_of_week when set. DateTime objects have their time set to 0:00. at_beginning_of_week
previousSibling() Instance Public methods IXMLDOMNode previousSibling left sibling of the node
command() Class Public methods
set_error(type, message) Instance Protected methods Set an error (a protected method).
Page 1798 of 2275