Lines Matching refs:options
18 # accepts the following options in a symbol-to-value hash:
24 def initialize( options = {}, &block ) # for 1.9
27 @position = options.fetch :position, 0
28 @line = options.fetch :line, 1
29 @column = options.fetch :column, 0
34 @name ||= options[ :file ] || options[ :name ] || '(interactive)'
55 # accepts the following options in a symbol-to-value hash:
61 def initialize( options = {}, &block )
63 @position = options.fetch :position, 0
64 @line = options.fetch :line, 1
65 @column = options.fetch :column, 0
70 @name ||= options[ :file ] || options[ :name ] || '(interactive)'