weshatheleopard / rubyXL

Ruby lib for reading/writing/modifying .xlsx and .xlsm files
MIT License
1.27k stars 254 forks source link

undefined method change_content #414

Closed chabgood closed 2 years ago

chabgood commented 2 years ago

rubyXL (3.4.21) I am getting this error in the rails console:

worksheet[15][3].change_contents Traceback (most recent call last): 1: from (irb):9:inevaluate' NoMethodError (undefined method change_contents' for #<RubyXL::Cell(15,3): "moo", datatype="str", style_index=27>)

weshatheleopard commented 2 years ago

I recommend that you read the documentation prior to writing code.

pvinis commented 6 months ago

Could be nice to add a little error message to suggest adding these requires in the method_missing or something 🤔.

weshatheleopard commented 6 months ago

Could be nice to add a little error message

Could be nice to read the documentation? You cannot expect to just grab something off the internet and start using it without gaining any knowledge first.

pvinis commented 6 months ago

oof bro you're way too aggressive. Just gave a small suggestion. The rust compiler doesn't say RTFM, it gives hints.

Anyway whatever.

weshatheleopard commented 6 months ago

The rust compiler doesn't say RTFM, it gives hints.

The C compiler did.