こんにちは。つい最近初投稿しました伊藤です。


>   puts x if x =~ /45/

こちらはxがStringクラスのインスタンスなのでStringクラスの=~メソッドが引数 
/45/と共に呼ばれるのではないでしょうか。
こちらはPerlスタイルをサポートした形式のようで、Rubyスタイルは下の方のようです。

>   puts x if /45/ =~ x

こちら側は/45/がRegexp(正規表現)クラスのインスタンスなのでRegexpクラスの=~メ 
ソッドが引数xと共に呼ばれるのではないかと思います。

なにぶん、Ruby歴が浅いので間違いがありましたらすいません。

#メーラーをEudoraに変えて操作がまだよくわかってないのでHTMLがくっついていたら 
すいません

 

[DirectoryServices]
OldKeepOnTopConverted=1
KeepOnTop=0
TopPaneY=216
BottomPaneY=0
PanesX=294
LeftPaneX=296
RightPaneX=239
PanesY=322

[Settings]
UserSignatures=1
WarnDefaultMailto=0
DefaultMailto=1
SeenIntro=1
POPAccount=aab56970 / pop12.odn.ne.jp
RealName=Tomotaka Ito
ReturnAddress=aab56970 / pop12.odn.ne.jp
DomainQualifier=
SMTPServer=smtp12.odn.ne.jp
PopServer=pop12.odn.ne.jp
LoginName=aab56970
ImapDirectoryPrefix=
Stationery=
Signature=<未使用>
LeaveOnServerDays=0
BigMessageThreshold=40960
IMAPMaxDownloadSize=0
TrashMailboxName=Trash
CheckMailByDefault=1
LeaveMailOnServer=0
AuthenticateKerberos=0
AuthenticateAPOP=0
UseWinSock=1
AuthenticateRPA=0
UsesIMAP=0
UsesPOP=1
AuthenticatePassword=1
DeleteMailFromServer=0
ServerDelete=0
SkipBigMessages=0
IMAPMinDownload=1
IMAPOmitAttachments=0
TransferToTrashOnDelete=0
MarkAsDeleted=1
SmtpAuthAllowed=1
Commercial32Version=16
NicknameLastActivePropertyPage=0
MainWind
owState=3
ExpandNickname=0
NicknameViewByIndex=0
PersonaViewNameWidth=90
PersonaViewAccountWidth=200
TaskStatusStateWidth=120
TaskStatusStatusWidth=195
TaskStatusProgressWidth=106
NGBase1=984140164
NGLast1=984140164
NGBase2=984140164
NGLast2=984140164
NGBase3=984140164
NGLast3=984140164
NGBase4=984140164
NGLast4=984140164
NGBase5=984140164
NGLast5=984140164
AdToolbarFloat=0
AdToolbarDock=2
CurrentTipOfTheDay=29
LastWindowMax=1
MailboxSuperclose=0
AutoOK=1
LastOptionsCategory=11
EasyOpen=1
ShowStyledTextToolbar=0

[ToolBar-Bar0]
BarID=59393
Style=1342210048
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=1000000
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Bar1]
BarID=318
XPos=0
YPos=-2
MRUWidth=844
Docking=1
MRUDockID=59420
MRUDockLeftPos=0
MRUDockTopPos=-2
MRUDockRightPos=193
MRUDockBottomPos=508
MRUFloatStyle=4
MRU
FloatXPos=180
MRUFloatYPos=56
Style=268443524
ExStyle=3889
PrevFloating=0
MDIChild=0
PctWidth=768768
MRUFloatCX=844
MRUFloatCY=644
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=193
MRUVertDockCY=510
MRUDockingState=0
DockingStyle=61440
TypeID=0

[ToolBar-Bar2]
BarID=319
Visible=0
XPos=300
YPos=0
MRUWidth=580
Docking=1
MRUDockID=0
MRUDockLeftPos=5
MRUDockTopPos=-2
MRUDockRightPos=185
MRUDockBottomPos=499
MRUFloatStyle=4
MRUFloatXPos=254
MRUFloatYPos=153
Style=268443525
ExStyle=3889
PrevFloating=0
MDIChild=0
PctWidth=1000000
MRUFloatCX=580
MRUFloatCY=377
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=180
MRUVertDockCY=501
MRUDockingState=0
DockingStyle=61440
TypeID=0

[ToolBar-Bar3]
BarID=320
Visible=0
XPos=600
YPos=0
Docking=1
MRUDockID=0
MRUDockLeftPos=1
MRUDockTopPos=5
MRUDockRightPos=1025
MRUDockBottomPos=85
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=268472196
ExStyle=3889
Pr
evFloating=0
MDIChild=0
PctWidth=1000000
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=1024
MRUHorzDockCY=80
MRUVertDockCX=180
MRUVertDockCY=180
MRUDockingState=0
DockingStyle=61440
TypeID=0

[ToolBar-Bar4]
BarID=317
XPos=0
YPos=514
Docking=1
MRUDockID=0
MRUDockLeftPos=0
MRUDockTopPos=514
MRUDockRightPos=193
MRUDockBottomPos=668
MRUFloatStyle=4
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=268443524
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=231231
MRUFloatCX=300
MRUFloatCY=180
MRUHorzDockCX=300
MRUHorzDockCY=180
MRUVertDockCX=193
MRUVertDockCY=153
MRUDockingState=0
DockingStyle=61440
TypeID=0

[ToolBar-Bar5]
BarID=59419
Bars=4
Bar#0=0
Bar#1=59392
Bar#2=59424
Bar#3=0
Style=0
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Bar6]
BarID=59422
Bars=3
Bar#0=0
Bar#1=
320
Bar#2=0
Style=0
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Bar7]
BarID=59420
Bars=4
Bar#0=0
Bar#1=318
Bar#2=317
Bar#3=0
Style=0
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Bar8]
BarID=59421
Bars=3
Bar#0=0
Bar#1=65855
Bar#2=0
Style=0
ExStyle=0
PrevFloating=0
MDIChild=0
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Bar9]
BarID=59392
MRUWidth=721
Docking=1
MRUDockID=59419
MRUDockLeftPos=-1
MRUDockTopPos=-1
MRUDockRightPos=720
MRUDockBottomPos=42
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=1342189492
ExStyle=780
PrevFloating=0
MDIChild=0
PctWidth=500000
MRUFloatCX=721
MRUFloatCY=43
MRUHorzDockCX=721
MRUHorzDockCY=43
MRUVertDockCX=43
MRUVertDockCY=649
MRUD
ockingState=0
DockingStyle=61440
TypeID=14946
Title=ツールバー
Buttons=FCAIAAAAAAAAAAAAAAAAIBAIAAAAAAJBAIAAAAAAAAAAAAAAAAEAAIAAAAAAAAAAAAAAAANBAIAAAAAAHFAIAAAAAAIFAIAAAAAAPBAIAAAAAAAAAAAAAAAAFOAIAAAAAAGOAIAAAAAAAAAAAAAAAAECAIAAAAAAAAAAAAAAAAKAAIAAAAAAAAAAAAAAAAMDAIAAAAAAAAAAAAAAAAHABOAAAAAAAAAAAAAAAAFEBOAAAAAA

[ToolBar-Bar10]
BarID=59423
Horz=0
Floating=1
XPos=203
YPos=96
Bars=3
Bar#0=0
Bar#1=319
Bar#2=0
Style=0
ExStyle=0
PrevFloating=0
MDIChild=1
PctWidth=0
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=0
MRUHorzDockCY=0
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=0
TypeID=0

[ToolBar-Summary]
Bars=11
ScreenCX=1024
ScreenCY=768

[ToolBar-ToolBarManager]
ToolTips=1
CoolLook=1
LargeButtons=1

[ToolBar-BarID59392]
btn0=32805
btn1=0
btn2=32792
btn3=32793
btn4=0
btn5=32772
btn6=0
btn7=32797
btn8=32855
btn9=32856
btn10=32799
btn11=0
btn12=32997
btn13=32998
btn14=0
btn15=32804
btn16=0
btn17=327
78
btn18=0
btn19=32828
btn20=0
btn21=57607
btn22=0
btn23=57669
CustomButtonCount=0

[Labels]
LabelCount=7
Label1=255,128,0,Label 1
Label2=255,0,0,Label 2
Label3=255,0,255,Label 3
Label4=0,128,255,Label 4
Label5=0,0,255,Label 5
Label6=0,128,0,Label 6
Label7=128,64,64,Label 7

[Window Position]
MainWindowPosition=51,38,973,730
NicknamesWindowSplitterPosition=228
AdToolbarWindowPosition=778,39,914,82

[ToolBar-Bar11]
BarID=59424
XPos=778
Docking=1
MRUDockID=0
MRUDockLeftPos=778
MRUDockTopPos=-1
MRUDockRightPos=914
MRUDockBottomPos=42
MRUFloatStyle=8196
MRUFloatXPos=-2147483648
MRUFloatYPos=0
Style=1342189492
ExStyle=780
PrevFloating=0
MDIChild=0
PctWidth=500000
MRUFloatCX=0
MRUFloatCY=0
MRUHorzDockCX=136
MRUHorzDockCY=43
MRUVertDockCX=0
MRUVertDockCY=0
MRUDockingState=0
DockingStyle=61440
TypeID=14946
Title=Ad ToolBar
Buttons=IBJHAAAAAAJBJHAAAAAAKBJHAAAAAA

[ToolBar-BarID59424]
btn0=31000
btn1=31001
btn2=31002
C
ustomButtonCount=0

[WazooBars]
WazooBarIds=318,319,320
WazooBar318=16,CMboxWazooWnd,CFileBrowseWazooWnd,CSignatureWazooWnd,CStationeryWazooWnd,CPersonalityWazooWnd
WazooBar319=16,CNicknamesWazooWnd,DirectoryServicesWazooWndNew,CFiltersWazooWnd,CFilterReportWazooWnd,CLinkHistoryWazooWnd,2
WazooMDI319=0,30,116,57,1,0
WazooBar320=64,CTaskStatusWazooWnd,CTaskErrorWazooWnd

---------------
Tomotaka Ito
aab56970 / pop12.odn.ne.jp