rubyworks / ansi

Set of ANSI Code based classes and modules for Ruby

Home Page:https://rubyworks.github.com/ansi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

methods broken?

bootstraponline opened this issue · comments

Why are all these methods broken?

> ANSI::Code.hex '000000'
NoMethodError: undefined method `rgb_value` for ANSI::Code:Module
> ANSI::Code.rgb(0,255,0)
NoMethodError: undefined method `rgb_value` for ANSI::Code:Module
> ANSI::Code.rgb_256(0,255,0)
NoMethodError: private method `rgb_256` called for ANSI::Code:Module
> ANSI::Code.send(:rgb_256, 0,255,0)
NoMethodError: undefined method `rgb_valid` for ANSI::Code:Module

Because I suck 😦 Will be fixed in 1.5 release. Thanks for reporting.

thanks!