Module: Location

Defined in:
lib/red_query/location.rb

Class Method Summary collapse

Class Method Details

.href(url) ⇒ Object



2
3
4
# File 'lib/red_query/location.rb', line 2

def self.href(url)
  `location.href = #{url}.__value__`
end