class NeweggScraperChsbr::Price
Attributes
price[RW]
Public Class Methods
new(price)
click to toggle source
# File lib/newegg_scraper_chsbr/price.rb, line 5 def initialize(price) @price = price end
Public Instance Methods
convert_price()
click to toggle source
# File lib/newegg_scraper_chsbr/price.rb, line 8 def convert_price @price.slice(1 .. @price.size - 4).to_i end