page.item(:item_id).methods
した中から、よく使いそうなものを
オブジェクトの表示、非表示
hide
非表示
show
表示
visible?
表示されているか
以下は備忘録としてすべてのメソッド
[:type, :id, :visible, :visible?, :style, :styles, :hide, :show, :internal, :copy, :deep_copy, :blank_value?, :call_block_in, :dclone, :blank?, :present?, :presence, :psych_to_yaml, :to_yaml_properties, :to_yaml, :acts_like?, :try, :in?, :`, :duplicable?, :to_param, :to_query, :instance_values, :instance_variable_names, :to_json, :with_options, :html_safe?, :pry, :__binding__, :pretty_print, :pretty_print_cycle, :pretty_print_instance_variables, :pretty_print_inspect, :nil?,
:===, :=~, :!~, :eql?, :hash, :<=>, :class, :singleton_class, :clone, :dup, :initialize_dup, :initialize_clone, :taint, :tainted?, :untaint, :untrust, :untrusted?, :trust, :freeze, :frozen?, :to_s, :inspect, :methods, :singleton_methods, :protected_methods, :private_methods, :public_methods, :instance_variables, :instance_variable_get, :instance_variable_set, :instance_variable_defined?, :instance_of?, :kind_of?, :is_a?, :tap, :send, :public_send, :respond_to?, :respond_to_missing?, :extend, :display, :method, :public_method, :define_singleton_method, :object_id, :to_enum, :enum_for, :gem, :putc, :silence_warnings, :enable_warnings, :with_warnings, :silence_stderr, :silence_stream, :suppress, :capture, :silence, :quietly, :class_eval, :debugger, :breakpoint, :logger, :pretty_inspect, :suppress_warnings, :==, :equal?, :!, :!=, :instance_eval, :instance_exec, :__send__, :__id__]